<!DOCTYPE HTML>
<html>
<head th:replace="mgr/base/head :: head('模板缓存清理')"></head>
<body>
	<nav th:replace="mgr/base/nav :: active('tpl-clearCache')"></nav>
	<div id="page-wrapper" style="padding: 10px">
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-8 col-md-offset-2">
					<button class="btn btn-primary" id="clearMgrCache">清除页面缓存</button>
				</div>
			</div>
		</div>
	</div>
	<div th:replace="base/foot_source"></div>
	<script type="text/javascript">
		$(document).ready(function(){
			$("#clearMgrCache").click(function(){
				$.post(basePath+'/mgr/tpl/clearCache',{},function(data){
					bootbox.alert(data.message);
				})
			});
		});
	</script>
</body>
</html>